home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1996 October / MACPOWER-1996-10.ISO.7z / MACPOWER-1996-10.ISO / AMUG / Internet_31 / File eXpress 1.2 Folder / File eXpress 1.2v0 / FX・Goodies! / FX・Mailer 1.0v0 / FX•Mailer 1.0v0 / cards.xml < prev    next >
Text File  |  1996-04-10  |  52KB  |  1,082 lines

  1. card_4782.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>4782</id>
  6.     <filler1>0</filler1>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <owner>4221</owner>
  11.     <link rel="stylesheet" type="text/css" href="stylesheet_3254.css" />
  12.     <content>
  13.         <layer>background</layer>
  14.         <id>1</id>
  15.         <text> 04/10/96-05:16PM  Recompiling AppleScript S窶ヲ =>Ruskin[]          947963</text>
  16.     </content>
  17.     <content>
  18.         <layer>background</layer>
  19.         <id>2</id>
  20.         <text>Date:    04/10/96-05:16PMFrom:    Ruskin[]         Ruskin.To:      Ruskin[]Subject: Recompiling AppleScript Scripts in FX窶「MailerNOTE FOR FX窶「MAILER USERS:If you are continually being asked to "locate" the FX窶「Engine, FX窶「Packager or HyperCard while using the FX窶「Mailer stack, you may need to recompile the AppleScript scripts in the FX窶「Mailer Stack.  To display the AppleScript scripts (which have been placed in buttons), hold down the "option" key and click on the "FX" label in the upper left corner of the current window.  Note, both the Reader and Compose cards contain AppleScript scripts in buttons that may have to be recompiled so be sure to "option-click" on the "FX" label in both windows.  Display and Save the scripts that are attached to each of the AppleScript based buttons.  Once you've recompiled the scripts, AppleScript will no longer ask you to locate the engine or packager.  You may re-hide the AppleScript buttons by "option-clicking" on the "FX" labels.</text>
  21.     </content>
  22.     <name></name>
  23.     <script></script>
  24. </card>
  25.  
  26.  
  27. card_6042.xml
  28. <?xml version="1.0" encoding="utf-8" ?>
  29. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  30. <card>
  31.     <id>6042</id>
  32.     <filler1>0</filler1>
  33.     <cantDelete> <true /> </cantDelete>
  34.     <showPict> <true /> </showPict>
  35.     <dontSearch> <true /> </dontSearch>
  36.     <owner>4221</owner>
  37.     <link rel="stylesheet" type="text/css" href="stylesheet_3254.css" />
  38.     <content>
  39.         <layer>background</layer>
  40.         <id>1</id>
  41.         <text>Empty Caption - Master Template for this Background</text>
  42.     </content>
  43.     <content>
  44.         <layer>background</layer>
  45.         <id>2</id>
  46.         <text>Empty Body - Master Template for this Background</text>
  47.     </content>
  48.     <name>templateCard</name>
  49.     <script></script>
  50. </card>
  51.  
  52.  
  53. card_3818.xml
  54. <?xml version="1.0" encoding="utf-8" ?>
  55. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  56. <card>
  57.     <id>3818</id>
  58.     <filler1>0</filler1>
  59.     <bitmap>BMAP_4496.pbm</bitmap>
  60.     <cantDelete> <true /> </cantDelete>
  61.     <showPict> <true /> </showPict>
  62.     <dontSearch> <false /> </dontSearch>
  63.     <owner>2577</owner>
  64.     <link rel="stylesheet" type="text/css" href="stylesheet_3254.css" />
  65.     <part>
  66.         <id>1</id>
  67.         <type>field</type>
  68.         <visible> <true /> </visible>
  69.         <dontWrap> <true /> </dontWrap>
  70.         <dontSearch> <false /> </dontSearch>
  71.         <sharedText> <false /> </sharedText>
  72.         <fixedLineHeight> <false /> </fixedLineHeight>
  73.         <autoTab> <false /> </autoTab>
  74.         <lockText> <false /> </lockText>
  75.         <rect>
  76.             <left>61</left>
  77.             <top>29</top>
  78.             <right>320</right>
  79.             <bottom>46</bottom>
  80.         </rect>
  81.         <style>rectangle</style>
  82.         <autoSelect> <false /> </autoSelect>
  83.         <showLines> <false /> </showLines>
  84.         <wideMargins> <false /> </wideMargins>
  85.         <multipleLines> <false /> </multipleLines>
  86.         <reservedFamily> 0 </reservedFamily>
  87.         <titleWidth>0</titleWidth>
  88.         <icon>0</icon>
  89.         <textAlign>left</textAlign>
  90.         <font>Geneva</font>
  91.         <textSize>9</textSize>
  92.         <textStyle>plain</textStyle>
  93.         <textHeight>12</textHeight>
  94.         <name>sendtoFld</name>
  95.         <script>on closeFieldput line 1 of me into meend closeField</script>
  96.     </part>
  97.     <part>
  98.         <id>2</id>
  99.         <type>field</type>
  100.         <visible> <true /> </visible>
  101.         <dontWrap> <true /> </dontWrap>
  102.         <dontSearch> <false /> </dontSearch>
  103.         <sharedText> <false /> </sharedText>
  104.         <fixedLineHeight> <false /> </fixedLineHeight>
  105.         <autoTab> <false /> </autoTab>
  106.         <lockText> <false /> </lockText>
  107.         <rect>
  108.             <left>61</left>
  109.             <top>53</top>
  110.             <right>320</right>
  111.             <bottom>70</bottom>
  112.         </rect>
  113.         <style>rectangle</style>
  114.         <autoSelect> <false /> </autoSelect>
  115.         <showLines> <false /> </showLines>
  116.         <wideMargins> <false /> </wideMargins>
  117.         <multipleLines> <false /> </multipleLines>
  118.         <reservedFamily> 0 </reservedFamily>
  119.         <titleWidth>0</titleWidth>
  120.         <icon>0</icon>
  121.         <textAlign>left</textAlign>
  122.         <font>Geneva</font>
  123.         <textSize>9</textSize>
  124.         <textStyle>plain</textStyle>
  125.         <textHeight>12</textHeight>
  126.         <name>subjectFld</name>
  127.         <script>on closeFieldput line 1 of me into meend closeField</script>
  128.     </part>
  129.     <part>
  130.         <id>3</id>
  131.         <type>field</type>
  132.         <visible> <true /> </visible>
  133.         <dontWrap> <false /> </dontWrap>
  134.         <dontSearch> <true /> </dontSearch>
  135.         <sharedText> <false /> </sharedText>
  136.         <fixedLineHeight> <false /> </fixedLineHeight>
  137.         <autoTab> <false /> </autoTab>
  138.         <lockText> <false /> </lockText>
  139.         <rect>
  140.             <left>5</left>
  141.             <top>80</top>
  142.             <right>410</right>
  143.             <bottom>244</bottom>
  144.         </rect>
  145.         <style>scrolling</style>
  146.         <autoSelect> <false /> </autoSelect>
  147.         <showLines> <false /> </showLines>
  148.         <wideMargins> <true /> </wideMargins>
  149.         <multipleLines> <false /> </multipleLines>
  150.         <reservedFamily> 0 </reservedFamily>
  151.         <titleWidth>0</titleWidth>
  152.         <icon>0</icon>
  153.         <textAlign>left</textAlign>
  154.         <font>Monaco</font>
  155.         <textSize>9</textSize>
  156.         <textStyle>plain</textStyle>
  157.         <textHeight>12</textHeight>
  158.         <name>messageFld</name>
  159.         <script></script>
  160.     </part>
  161.     <part>
  162.         <id>4</id>
  163.         <type>button</type>
  164.         <visible> <true /> </visible>
  165.         <reserved5> 0 </reserved5>
  166.         <reserved4> 0 </reserved4>
  167.         <reserved3> 0 </reserved3>
  168.         <reserved2> 0 </reserved2>
  169.         <reserved1> 0 </reserved1>
  170.         <enabled> <true /> </enabled>
  171.         <rect>
  172.             <left>354</left>
  173.             <top>247</top>
  174.             <right>410</right>
  175.             <bottom>260</bottom>
  176.         </rect>
  177.         <style>standard</style>
  178.         <showName> <true /> </showName>
  179.         <highlight> <false /> </highlight>
  180.         <autoHighlight> <true /> </autoHighlight>
  181.         <sharedHighlight> <true /> </sharedHighlight>
  182.         <family>0</family>
  183.         <titleWidth>0</titleWidth>
  184.         <icon>0</icon>
  185.         <textAlign>center</textAlign>
  186.         <font>Geneva</font>
  187.         <textSize>9</textSize>
  188.         <textStyle>plain</textStyle>
  189.         <name>Send Now!</name>
  190.         <script>on mouseUpif cd field sendtofld is not empty thenset cursor to busyset the hilite of me to truesendMessage -- see card script for this handlerset the hilite of me to falseelseanswer "Sorry, FX窶「Mailer cannot send your message.  Please enter an address in the 窶彜end To:窶."end ifend mouseUp</script>
  191.     </part>
  192.     <part>
  193.         <id>5</id>
  194.         <type>button</type>
  195.         <visible> <true /> </visible>
  196.         <reserved5> 0 </reserved5>
  197.         <reserved4> 0 </reserved4>
  198.         <reserved3> 0 </reserved3>
  199.         <reserved2> 0 </reserved2>
  200.         <reserved1> 0 </reserved1>
  201.         <enabled> <true /> </enabled>
  202.         <rect>
  203.             <left>325</left>
  204.             <top>56</top>
  205.             <right>410</right>
  206.             <bottom>69</bottom>
  207.         </rect>
  208.         <style>standard</style>
  209.         <showName> <true /> </showName>
  210.         <highlight> <false /> </highlight>
  211.         <autoHighlight> <true /> </autoHighlight>
  212.         <sharedHighlight> <true /> </sharedHighlight>
  213.         <family>0</family>
  214.         <titleWidth>0</titleWidth>
  215.         <icon>0</icon>
  216.         <textAlign>center</textAlign>
  217.         <font>Geneva</font>
  218.         <textSize>9</textSize>
  219.         <textStyle>plain</textStyle>
  220.         <name>Clear Compose</name>
  221.         <script>on mouseUpput empty into cd fld sendtoFldput empty into cd fld subjectFldput empty into cd fld messageFldend mouseUp</script>
  222.     </part>
  223.     <part>
  224.         <id>6</id>
  225.         <type>button</type>
  226.         <visible> <true /> </visible>
  227.         <reserved5> 0 </reserved5>
  228.         <reserved4> 0 </reserved4>
  229.         <reserved3> 0 </reserved3>
  230.         <reserved2> 0 </reserved2>
  231.         <reserved1> 0 </reserved1>
  232.         <enabled> <true /> </enabled>
  233.         <rect>
  234.             <left>323</left>
  235.             <top>30</top>
  236.             <right>390</right>
  237.             <bottom>44</bottom>
  238.         </rect>
  239.         <style>checkbox</style>
  240.         <showName> <true /> </showName>
  241.         <highlight> <true /> </highlight>
  242.         <autoHighlight> <true /> </autoHighlight>
  243.         <sharedHighlight> <true /> </sharedHighlight>
  244.         <family>0</family>
  245.         <titleWidth>0</titleWidth>
  246.         <icon>0</icon>
  247.         <textAlign>center</textAlign>
  248.         <font>Geneva</font>
  249.         <textSize>9</textSize>
  250.         <textStyle>plain</textStyle>
  251.         <name>Keep Copy</name>
  252.         <script></script>
  253.     </part>
  254.     <part>
  255.         <id>9</id>
  256.         <type>button</type>
  257.         <visible> <false /> </visible>
  258.         <reserved5> 0 </reserved5>
  259.         <reserved4> 0 </reserved4>
  260.         <reserved3> 0 </reserved3>
  261.         <reserved2> 0 </reserved2>
  262.         <reserved1> 0 </reserved1>
  263.         <enabled> <false /> </enabled>
  264.         <rect>
  265.             <left>302</left>
  266.             <top>2</top>
  267.             <right>413</right>
  268.             <bottom>18</bottom>
  269.         </rect>
  270.         <style>opaque</style>
  271.         <showName> <true /> </showName>
  272.         <highlight> <false /> </highlight>
  273.         <autoHighlight> <false /> </autoHighlight>
  274.         <sharedHighlight> <true /> </sharedHighlight>
  275.         <family>0</family>
  276.         <titleWidth>0</titleWidth>
  277.         <icon>0</icon>
  278.         <textAlign>center</textAlign>
  279.         <font>Chicago</font>
  280.         <textSize>12</textSize>
  281.         <textStyle>plain</textStyle>
  282.         <name>asSendFile</name>
  283.         <script></script>
  284.     </part>
  285.     <part>
  286.         <id>16</id>
  287.         <type>button</type>
  288.         <visible> <true /> </visible>
  289.         <reserved5> 0 </reserved5>
  290.         <reserved4> 0 </reserved4>
  291.         <reserved3> 0 </reserved3>
  292.         <reserved2> 0 </reserved2>
  293.         <reserved1> 0 </reserved1>
  294.         <enabled> <true /> </enabled>
  295.         <rect>
  296.             <left>6</left>
  297.             <top>247</top>
  298.             <right>62</right>
  299.             <bottom>260</bottom>
  300.         </rect>
  301.         <style>standard</style>
  302.         <showName> <true /> </showName>
  303.         <highlight> <false /> </highlight>
  304.         <autoHighlight> <true /> </autoHighlight>
  305.         <sharedHighlight> <true /> </sharedHighlight>
  306.         <family>0</family>
  307.         <titleWidth>0</titleWidth>
  308.         <icon>0</icon>
  309.         <textAlign>center</textAlign>
  310.         <font>Geneva</font>
  311.         <textSize>9</textSize>
  312.         <textStyle>plain</textStyle>
  313.         <name>Reader窶ヲ</name>
  314.         <script>on mouseUpgo card readerCardend mouseUp</script>
  315.     </part>
  316.     <part>
  317.         <id>18</id>
  318.         <type>button</type>
  319.         <visible> <true /> </visible>
  320.         <reserved5> 0 </reserved5>
  321.         <reserved4> 0 </reserved4>
  322.         <reserved3> 0 </reserved3>
  323.         <reserved2> 0 </reserved2>
  324.         <reserved1> 0 </reserved1>
  325.         <enabled> <true /> </enabled>
  326.         <rect>
  327.             <left>2</left>
  328.             <top>2</top>
  329.             <right>28</right>
  330.             <bottom>18</bottom>
  331.         </rect>
  332.         <style>transparent</style>
  333.         <showName> <false /> </showName>
  334.         <highlight> <false /> </highlight>
  335.         <autoHighlight> <false /> </autoHighlight>
  336.         <sharedHighlight> <true /> </sharedHighlight>
  337.         <family>0</family>
  338.         <titleWidth>0</titleWidth>
  339.         <icon>0</icon>
  340.         <textAlign>center</textAlign>
  341.         <font>Chicago</font>
  342.         <textSize>12</textSize>
  343.         <textStyle>plain</textStyle>
  344.         <name>Show AppleScript Buttons</name>
  345.         <script>on mouseUpif the optionkey is down thenif the visible of cd button asSendFile is true thenset the visible of cd button asSendFile to falseelseset the visible of cd button asSendFile to trueend ifend ifend mouseUp</script>
  346.     </part>
  347.     <part>
  348.         <id>21</id>
  349.         <type>button</type>
  350.         <visible> <true /> </visible>
  351.         <reserved5> 0 </reserved5>
  352.         <reserved4> 0 </reserved4>
  353.         <reserved3> 0 </reserved3>
  354.         <reserved2> 0 </reserved2>
  355.         <reserved1> 0 </reserved1>
  356.         <enabled> <true /> </enabled>
  357.         <rect>
  358.             <left>393</left>
  359.             <top>1</top>
  360.             <right>412</right>
  361.             <bottom>19</bottom>
  362.         </rect>
  363.         <style>transparent</style>
  364.         <showName> <false /> </showName>
  365.         <highlight> <false /> </highlight>
  366.         <autoHighlight> <false /> </autoHighlight>
  367.         <sharedHighlight> <true /> </sharedHighlight>
  368.         <family>0</family>
  369.         <titleWidth>0</titleWidth>
  370.         <icon>26635</icon>
  371.         <textAlign>center</textAlign>
  372.         <font>Chicago</font>
  373.         <textSize>12</textSize>
  374.         <textStyle>plain</textStyle>
  375.         <name></name>
  376.         <script>on mouseUpset the visible of cd button coverUp to trueset the visible of cd fld composeHelp to trueend mouseUp</script>
  377.     </part>
  378.     <part>
  379.         <id>22</id>
  380.         <type>button</type>
  381.         <visible> <false /> </visible>
  382.         <reserved5> 0 </reserved5>
  383.         <reserved4> 0 </reserved4>
  384.         <reserved3> 0 </reserved3>
  385.         <reserved2> 0 </reserved2>
  386.         <reserved1> 0 </reserved1>
  387.         <enabled> <true /> </enabled>
  388.         <rect>
  389.             <left>1</left>
  390.             <top>1</top>
  391.             <right>414</right>
  392.             <bottom>262</bottom>
  393.         </rect>
  394.         <style>transparent</style>
  395.         <showName> <false /> </showName>
  396.         <highlight> <false /> </highlight>
  397.         <autoHighlight> <false /> </autoHighlight>
  398.         <sharedHighlight> <true /> </sharedHighlight>
  399.         <family>0</family>
  400.         <titleWidth>0</titleWidth>
  401.         <icon>0</icon>
  402.         <textAlign>center</textAlign>
  403.         <font>Chicago</font>
  404.         <textSize>12</textSize>
  405.         <textStyle>plain</textStyle>
  406.         <name>coverUp</name>
  407.         <script>on mouseUpsend mouseUp to cd fld "composeHelp"end mouseUp</script>
  408.     </part>
  409.     <part>
  410.         <id>23</id>
  411.         <type>field</type>
  412.         <visible> <false /> </visible>
  413.         <dontWrap> <false /> </dontWrap>
  414.         <dontSearch> <false /> </dontSearch>
  415.         <sharedText> <false /> </sharedText>
  416.         <fixedLineHeight> <false /> </fixedLineHeight>
  417.         <autoTab> <false /> </autoTab>
  418.         <lockText> <true /> </lockText>
  419.         <rect>
  420.             <left>8</left>
  421.             <top>72</top>
  422.             <right>406</right>
  423.             <bottom>240</bottom>
  424.         </rect>
  425.         <style>shadow</style>
  426.         <autoSelect> <false /> </autoSelect>
  427.         <showLines> <false /> </showLines>
  428.         <wideMargins> <true /> </wideMargins>
  429.         <multipleLines> <false /> </multipleLines>
  430.         <reservedFamily> 0 </reservedFamily>
  431.         <titleWidth>0</titleWidth>
  432.         <icon>0</icon>
  433.         <textAlign>left</textAlign>
  434.         <font>Geneva</font>
  435.         <textSize>12</textSize>
  436.         <textStyle>plain</textStyle>
  437.         <textHeight>16</textHeight>
  438.         <name>composeHelp</name>
  439.         <script>on mouseUpset the visible of cd button coverUp to falseset the visible of me to falseend mouseUp</script>
  440.     </part>
  441.     <content>
  442.         <layer>card</layer>
  443.         <id>23</id>
  444.         <text><span class="style2">sing the FX窶「Compose Window</span><span class="style1">To send a message, enter the destination address (or addresses) in the 窶彜end To:窶 field, a brief title in the 窶彜ubject窶 field and the text of your message in the primary text field after that.  When you're ready to send your message, simply click on the 窶彜end Now!窶 button.Remember to use valid FX窶「Packager addresses in the 窶彜end To:窶 field like 窶廱ulie[Marketing]窶 or 窶彗Mac.bigCorp.Com窶.To return to reading your mail click on the 窶彝eader窶ヲ窶 button.</span></text>
  445.     </content>
  446.     <name>composeCard</name>
  447.     <script>-- FX窶「Mailer - Compose Card Script-- Last Modified: 8/14/95 by MMM-- A freeware script provided by the Ruskin Group, Inc.-- This stack may be used for any non-commercial purposes.-- This handler turns the message into a temporary file and then-- calls an AppleScript handler to send that file via an FX窶「Packageron sendMessageglobal FXtempfileNameset the cursor to busymakeMailFile  -- take the message and save it in a temporary file-- We need to convert the address line into a canonical list-- for AppleScript.  The engine is expecting a list of strings that-- look like: "addr1","addr2","addr3"-- Note each item is seperated by a comma and enclosed in quotes!put quote&(item 1 of cd fld sendTofld) into canonicalAddrput (number of items of cd fld sendToFld) into numOfAddrsif numOfAddrs 竕・ 1 thenrepeat with itemCounter = 2 to (number of items of cd fld sendToFld)put quote&comma&quote&(item itemCounter of cd fld sendToFld) after canonicalAddrend repeatend if-- Add the final quote...put quote after canonicalAddr-- Now we'll hand off to an AppleScript script to do the dirty work...put "sendMessage "&quote&FXtempfileName&quote&","& ツャnumOfAddrs into sendParmglobal globalAddrput cd fld sendToFld into globalAddrsend sendParm to cd button "asSendFile"end sendMessage-- This handler creates the temporary file that contains-- the user's message in a canonical format.  We'll then use-- File eXpress to send that file to its destination.on makeMailFileglobal FXstackVersion, FXuserATName, FXuserIPName, FXtempFileNameset the cursor to busyput getDriveName() into theDriveput theDrive&":Temporary Items:"&(the ticks)&".fxmsg" into tempFileNameopen file tempFileName-- Just in case we can't find "Temporary Items"...if the result is not empty thenput theDrive&":"&(the ticks)&".fxmsg" into tempFileNameanswer "Couldn窶冲 use 窶弋emporary Items窶 folder, please delete 窶˜.fxmsg窶™ files at your convenience."open file tempFileNameend ifif the result is empty thenput buildDateTimeStamp() into dateAndTimewrite "[FX窶「Mail-"&FXstackVersion&"|"&(the ticks)&"|"&(random(the ticks))&"]"&return to file tempFileNamewrite "Date:    "&dateAndTime&return to file tempFileNameif (FXuserATName is empty) thenwrite "From:    <No AppleTalk Address Available>"&return to file tempFileNameelsewrite "From:    "&FXuserATName&return to file tempFileNameend ifif (FXuserIPName is empty) thenwrite "         <No TCP/IP Address Available>"&return to file tempFileNameelsewrite "         "&FXuserIPName&return to file tempFileNameend ifwrite "To:      "&(cd fld sendtoFld)&return to file tempFileNamewrite "Subject: "&(cd fld subjectFld)&return to file tempFileNamewrite return to file tempFileNamewrite (cd fld messageFld) to file tempFileNameclose file tempFileNameif the hilite of card button "Keep Copy" is true thenkeepCopyOfMail dateAndTimeend ifelseanswer "Error with temp file: 窶œ"&the result&"窶 - message not sent."exit to hypercard -- abort now or face the consequences...end ifput tempFileName into FXtempFileName -- We'll want to delete this later...end makeMailFile-- If the user had checked the "Keep Copy" options, then this routine-- is called and will copy the message in the compose card to the-- "rawMessages" background.  This keeps ups from actually having to-- use the packager to "send" a message to ourselves.on keepCopyOfMail dateAndTimeglobal FXstackVersion, FXuserATName, FXuserIPName, FXtempFileNameglobal FXcaptionsNeedUpdating-- Set FXcaptionsNeedUpdating to true so that when it is checked-- by the openCard handler of the Reader Card we update the captions list.-- We only need to do this as we're "sneaking" this message into the stack-- to save the time of actually sending it to ourselves.put true into FXcaptionsNeedUpdatingset the cursor to busylock screenlock messagesset the cursor to busy-- Build the rawCaption Itemput "窶「"&dateAndTime into tempCaptionput "  " after tempCaptionput char 1 to 25 of cd fld subjectFld after tempCaptionrepeat with i = (length of tempCaption) to 45put " " after tempCaptionend repeatif char 34 of cd fld subjectFld is not empty then put "窶ヲ" into char 45 of tempCaptionput "=>"&char 1 to 15 of cd fld sendtoFld after tempCaptionrepeat with i = (length of tempCaption) to 65put " " after tempCaptionend repeatput (the ticks) after tempCaption-- Build the rawBody Itemput "Date:    "&(buildDateTimeStamp())&return into tempBodyif (FXuserATName is empty) thenput "From:    <No AppleTalk Address Available>"&return after tempBodyelseput "From:    "&FXuserATName&return after tempBodyend ifif (FXuserIPName is empty) thenput "         <No TCP/IP Address Available>"&return after tempBodyelseput "         "&FXuserIPName&return after tempBodyend ifput "To:      "&(cd fld sendtoFld)&return after tempBodyput "Subject: "&(cd fld subjectFld)&return after tempBodyput return after tempBodyput (cd fld messageFld) after tempBody-- Now create "rawMessages" background card and 'keep copy' of message...push cardgo to last card of background rawmessagesdomenu "New Card"put tempCaption into field rawCaptionput tempBody into field rawBodypop cardend keepCopyOfMailon openCardglobal FXoriginalTextArrows-- We like textArrows off for the compose card,-- but save the old value to restore on close card...put the textArrows into FXoriginalTextArrowsset the textArrows to true-- Update the FX窶「Mailer Menuset the enabled of menuItem "Read Messages" of menu "FX窶「Mailer" to trueset the enabled of menuItem "Compose Message" of menu "FX窶「Mailer" to falsesend mouseDown to cd field sendToFldend openCardon closeCardglobal FXoriginalTextArrows-- Restore the value of textArrows to what it was before openCardset the textArrows to FXoriginalTextArrowsend closeCard-- Allow the enter-key to act as the "Send Now!" button窶ヲon enterInfieldsend mouseUp to cd button "Send Now!"end enterInfield</script>
  448. </card>
  449.  
  450.  
  451. card_3051.xml
  452. <?xml version="1.0" encoding="utf-8" ?>
  453. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  454. <card>
  455.     <id>3051</id>
  456.     <filler1>0</filler1>
  457.     <bitmap>BMAP_3999.pbm</bitmap>
  458.     <cantDelete> <true /> </cantDelete>
  459.     <showPict> <true /> </showPict>
  460.     <dontSearch> <false /> </dontSearch>
  461.     <owner>2577</owner>
  462.     <link rel="stylesheet" type="text/css" href="stylesheet_3254.css" />
  463.     <part>
  464.         <id>1</id>
  465.         <type>field</type>
  466.         <visible> <true /> </visible>
  467.         <dontWrap> <true /> </dontWrap>
  468.         <dontSearch> <false /> </dontSearch>
  469.         <sharedText> <false /> </sharedText>
  470.         <fixedLineHeight> <false /> </fixedLineHeight>
  471.         <autoTab> <false /> </autoTab>
  472.         <lockText> <true /> </lockText>
  473.         <rect>
  474.             <left>5</left>
  475.             <top>24</top>
  476.             <right>410</right>
  477.             <bottom>85</bottom>
  478.         </rect>
  479.         <style>scrolling</style>
  480.         <autoSelect> <true /> </autoSelect>
  481.         <showLines> <false /> </showLines>
  482.         <wideMargins> <true /> </wideMargins>
  483.         <multipleLines> <false /> </multipleLines>
  484.         <reservedFamily> 0 </reservedFamily>
  485.         <selectedLines>
  486.             <integer>1</integer>
  487.         </selectedLines>
  488.         <textAlign>left</textAlign>
  489.         <font>Monaco</font>
  490.         <textSize>9</textSize>
  491.         <textStyle>plain</textStyle>
  492.         <textHeight>12</textHeight>
  493.         <name>captions</name>
  494.         <script>on mouseUpif cd fld captions is not empty thengetMessageelseput empty into cd fld bodyanswer "Sorry, there are no messages to display窶ヲ"end ifend mouseUp</script>
  495.     </part>
  496.     <part>
  497.         <id>3</id>
  498.         <type>button</type>
  499.         <visible> <true /> </visible>
  500.         <reserved5> 0 </reserved5>
  501.         <reserved4> 0 </reserved4>
  502.         <reserved3> 0 </reserved3>
  503.         <reserved2> 0 </reserved2>
  504.         <reserved1> 0 </reserved1>
  505.         <enabled> <true /> </enabled>
  506.         <rect>
  507.             <left>209</left>
  508.             <top>247</top>
  509.             <right>286</right>
  510.             <bottom>260</bottom>
  511.         </rect>
  512.         <style>standard</style>
  513.         <showName> <true /> </showName>
  514.         <highlight> <false /> </highlight>
  515.         <autoHighlight> <true /> </autoHighlight>
  516.         <sharedHighlight> <true /> </sharedHighlight>
  517.         <family>0</family>
  518.         <titleWidth>0</titleWidth>
  519.         <icon>0</icon>
  520.         <textAlign>center</textAlign>
  521.         <font>Geneva</font>
  522.         <textSize>9</textSize>
  523.         <textStyle>plain</textStyle>
  524.         <name>Delete Message</name>
  525.         <script>-- FX窶「Mailer - Delete Message Button Script-- Last Modified: 8/12/95 by MMM-- A freeware script provided by the Ruskin Group, Inc.on mouseUpif cd field captions is empty thenanswer "Sorry, I can't find anything to delete!"elseif the optionkey is down thenset the hilite of me to truelock screenlock messagesset the cursor to busyrepeat with i = 1 to the number of lines in cd field captionsset the cursor to busydeleteMessage  -- see card script for this handlerend repeatset the hilite of me to falseelseset the cursor to watchdeleteMessage -- see card script for this handlerend ifend ifend mouseUp</script>
  526.     </part>
  527.     <part>
  528.         <id>4</id>
  529.         <type>field</type>
  530.         <visible> <true /> </visible>
  531.         <dontWrap> <false /> </dontWrap>
  532.         <dontSearch> <false /> </dontSearch>
  533.         <sharedText> <false /> </sharedText>
  534.         <fixedLineHeight> <false /> </fixedLineHeight>
  535.         <autoTab> <false /> </autoTab>
  536.         <lockText> <false /> </lockText>
  537.         <rect>
  538.             <left>5</left>
  539.             <top>105</top>
  540.             <right>410</right>
  541.             <bottom>244</bottom>
  542.         </rect>
  543.         <style>scrolling</style>
  544.         <autoSelect> <false /> </autoSelect>
  545.         <showLines> <false /> </showLines>
  546.         <wideMargins> <true /> </wideMargins>
  547.         <multipleLines> <false /> </multipleLines>
  548.         <reservedFamily> 0 </reservedFamily>
  549.         <titleWidth>0</titleWidth>
  550.         <icon>0</icon>
  551.         <textAlign>left</textAlign>
  552.         <font>Monaco</font>
  553.         <textSize>9</textSize>
  554.         <textStyle>plain</textStyle>
  555.         <textHeight>12</textHeight>
  556.         <name>body</name>
  557.         <script></script>
  558.     </part>
  559.     <part>
  560.         <id>6</id>
  561.         <type>button</type>
  562.         <visible> <true /> </visible>
  563.         <reserved5> 0 </reserved5>
  564.         <reserved4> 0 </reserved4>
  565.         <reserved3> 0 </reserved3>
  566.         <reserved2> 0 </reserved2>
  567.         <reserved1> 0 </reserved1>
  568.         <enabled> <true /> </enabled>
  569.         <rect>
  570.             <left>139</left>
  571.             <top>247</top>
  572.             <right>196</right>
  573.             <bottom>260</bottom>
  574.         </rect>
  575.         <style>standard</style>
  576.         <showName> <true /> </showName>
  577.         <highlight> <false /> </highlight>
  578.         <autoHighlight> <true /> </autoHighlight>
  579.         <sharedHighlight> <true /> </sharedHighlight>
  580.         <family>0</family>
  581.         <titleWidth>0</titleWidth>
  582.         <icon>0</icon>
  583.         <textAlign>center</textAlign>
  584.         <font>Geneva</font>
  585.         <textSize>9</textSize>
  586.         <textStyle>plain</textStyle>
  587.         <name>Reply To窶ヲ</name>
  588.         <script>-- FX窶「Mailer - Reply To Button Script-- Last Modified: 8/12/95 by MMM-- A freeware script provided by the Ruskin Group, Inc.on mouseUpif card field captions is empty thenanswer "Sorry, but I can't find a message to reply to!"elseset the cursor to watchlock screenput getFromAddress() into newToput "RE:"&(char 10 to (the number of chars in line 5 of cd fld body) of line 5 of cd fld body) ツャinto newSubjectgo card composeCardput newTo into cd fld sendToFldput newSubject into cd fld subjectFldput empty into cd fld messageFldunlock screenclick at 100,80end ifend mouseUp</script>
  589.     </part>
  590.     <part>
  591.         <id>7</id>
  592.         <type>button</type>
  593.         <visible> <true /> </visible>
  594.         <reserved5> 0 </reserved5>
  595.         <reserved4> 0 </reserved4>
  596.         <reserved3> 0 </reserved3>
  597.         <reserved2> 0 </reserved2>
  598.         <reserved1> 0 </reserved1>
  599.         <enabled> <true /> </enabled>
  600.         <rect>
  601.             <left>66</left>
  602.             <top>247</top>
  603.             <right>135</right>
  604.             <bottom>260</bottom>
  605.         </rect>
  606.         <style>standard</style>
  607.         <showName> <true /> </showName>
  608.         <highlight> <false /> </highlight>
  609.         <autoHighlight> <true /> </autoHighlight>
  610.         <sharedHighlight> <true /> </sharedHighlight>
  611.         <family>0</family>
  612.         <titleWidth>0</titleWidth>
  613.         <icon>0</icon>
  614.         <textAlign>center</textAlign>
  615.         <font>Geneva</font>
  616.         <textSize>9</textSize>
  617.         <textStyle>plain</textStyle>
  618.         <name>Forward To窶ヲ</name>
  619.         <script>-- FX窶「Mailer - Forward To Button Script-- Last Modified: 8/12/95 by MMM-- A freeware script provided by the Ruskin Group, Inc.on mouseUpif cd field captions is empty thenanswer "Sorry, but I can't find anything to forward!"elseset the cursor to watchlock screenput "FWD:"&(char 10 to (the number of chars in line 5 of cd fld body) of line 5 of cd fld body) ツャinto newSubjectput "----- Forwarded Message -----"&return into newBodyput card field body after newBodygo card composeCardput empty into cd fld sendToFldput newSubject into cd fld subjectFldput newBody into cd fld messageFldunlock screenclick at the loc of cd fld sendToFldend ifend mouseUp</script>
  620.     </part>
  621.     <part>
  622.         <id>8</id>
  623.         <type>field</type>
  624.         <visible> <true /> </visible>
  625.         <dontWrap> <false /> </dontWrap>
  626.         <dontSearch> <false /> </dontSearch>
  627.         <sharedText> <false /> </sharedText>
  628.         <fixedLineHeight> <false /> </fixedLineHeight>
  629.         <autoTab> <false /> </autoTab>
  630.         <lockText> <true /> </lockText>
  631.         <rect>
  632.             <left>53</left>
  633.             <top>89</top>
  634.             <right>236</right>
  635.             <bottom>104</bottom>
  636.         </rect>
  637.         <style>transparent</style>
  638.         <autoSelect> <false /> </autoSelect>
  639.         <showLines> <false /> </showLines>
  640.         <wideMargins> <false /> </wideMargins>
  641.         <multipleLines> <false /> </multipleLines>
  642.         <reservedFamily> 0 </reservedFamily>
  643.         <titleWidth>0</titleWidth>
  644.         <icon>0</icon>
  645.         <textAlign>left</textAlign>
  646.         <font>Geneva</font>
  647.         <textSize>9</textSize>
  648.         <textStyle>plain</textStyle>
  649.         <textHeight>12</textHeight>
  650.         <name>subjectLBL</name>
  651.         <script></script>
  652.     </part>
  653.     <part>
  654.         <id>9</id>
  655.         <type>button</type>
  656.         <visible> <true /> </visible>
  657.         <reserved5> 0 </reserved5>
  658.         <reserved4> 0 </reserved4>
  659.         <reserved3> 0 </reserved3>
  660.         <reserved2> 0 </reserved2>
  661.         <reserved1> 0 </reserved1>
  662.         <enabled> <true /> </enabled>
  663.         <rect>
  664.             <left>356</left>
  665.             <top>247</top>
  666.             <right>410</right>
  667.             <bottom>260</bottom>
  668.         </rect>
  669.         <style>standard</style>
  670.         <showName> <true /> </showName>
  671.         <highlight> <false /> </highlight>
  672.         <autoHighlight> <true /> </autoHighlight>
  673.         <sharedHighlight> <true /> </sharedHighlight>
  674.         <family>0</family>
  675.         <titleWidth>0</titleWidth>
  676.         <icon>0</icon>
  677.         <textAlign>center</textAlign>
  678.         <font>Geneva</font>
  679.         <textSize>9</textSize>
  680.         <textStyle>plain</textStyle>
  681.         <name>Read Next</name>
  682.         <script>-- FX窶「Mailer - Read Next Button Script-- Last Modified: 8/12/95 by MMM-- A freeware script provided by the Ruskin Group, Inc.on mouseUpset cursor to watchnextMessage -- see card script for this handlerend mouseUp</script>
  683.     </part>
  684.     <part>
  685.         <id>10</id>
  686.         <type>button</type>
  687.         <visible> <true /> </visible>
  688.         <reserved5> 0 </reserved5>
  689.         <reserved4> 0 </reserved4>
  690.         <reserved3> 0 </reserved3>
  691.         <reserved2> 0 </reserved2>
  692.         <reserved1> 0 </reserved1>
  693.         <enabled> <true /> </enabled>
  694.         <rect>
  695.             <left>297</left>
  696.             <top>247</top>
  697.             <right>353</right>
  698.             <bottom>260</bottom>
  699.         </rect>
  700.         <style>standard</style>
  701.         <showName> <true /> </showName>
  702.         <highlight> <false /> </highlight>
  703.         <autoHighlight> <true /> </autoHighlight>
  704.         <sharedHighlight> <true /> </sharedHighlight>
  705.         <family>0</family>
  706.         <titleWidth>0</titleWidth>
  707.         <icon>0</icon>
  708.         <textAlign>center</textAlign>
  709.         <font>Geneva</font>
  710.         <textSize>9</textSize>
  711.         <textStyle>plain</textStyle>
  712.         <name>Read Prev</name>
  713.         <script>-- FX窶「Mailer - Read Prev Button Script-- Last Modified: 8/12/95 by MMM-- A freeware script provided by the Ruskin Group, Inc.on mouseUpset cursor to watchprevMessage -- see card script for this handlerend mouseUp</script>
  714.     </part>
  715.     <part>
  716.         <id>11</id>
  717.         <type>button</type>
  718.         <visible> <true /> </visible>
  719.         <reserved5> 0 </reserved5>
  720.         <reserved4> 0 </reserved4>
  721.         <reserved3> 0 </reserved3>
  722.         <reserved2> 0 </reserved2>
  723.         <reserved1> 0 </reserved1>
  724.         <enabled> <true /> </enabled>
  725.         <rect>
  726.             <left>319</left>
  727.             <top>89</top>
  728.             <right>410</right>
  729.             <bottom>102</bottom>
  730.         </rect>
  731.         <style>standard</style>
  732.         <showName> <true /> </showName>
  733.         <highlight> <false /> </highlight>
  734.         <autoHighlight> <true /> </autoHighlight>
  735.         <sharedHighlight> <true /> </sharedHighlight>
  736.         <family>0</family>
  737.         <titleWidth>0</titleWidth>
  738.         <icon>0</icon>
  739.         <textAlign>center</textAlign>
  740.         <font>Geneva</font>
  741.         <textSize>9</textSize>
  742.         <textStyle>plain</textStyle>
  743.         <name>Update Captions</name>
  744.         <script>-- FX窶「Mailer - Update Captions Button Script-- Last Modified: 8/12/95 by MMM-- A freeware script provided by the Ruskin Group, Inc.on mouseUp-- Hand off a full "Update Cations" request to an AppleScript-- handler that will examine the FX窶「Inbox for message files-- to be imported into the "rawMessages" background of this stack.set the cursor to busysend "loadMessages" to cd button asLoadMessagesend mouseUp</script>
  745.     </part>
  746.     <part>
  747.         <id>12</id>
  748.         <type>button</type>
  749.         <visible> <false /> </visible>
  750.         <reserved5> 0 </reserved5>
  751.         <reserved4> 0 </reserved4>
  752.         <reserved3> 0 </reserved3>
  753.         <reserved2> 0 </reserved2>
  754.         <reserved1> 0 </reserved1>
  755.         <enabled> <false /> </enabled>
  756.         <rect>
  757.             <left>195</left>
  758.             <top>2</top>
  759.             <right>266</right>
  760.             <bottom>17</bottom>
  761.         </rect>
  762.         <style>opaque</style>
  763.         <showName> <true /> </showName>
  764.         <highlight> <false /> </highlight>
  765.         <autoHighlight> <false /> </autoHighlight>
  766.         <sharedHighlight> <true /> </sharedHighlight>
  767.         <family>0</family>
  768.         <titleWidth>0</titleWidth>
  769.         <icon>0</icon>
  770.         <textAlign>center</textAlign>
  771.         <font>Geneva</font>
  772.         <textSize>9</textSize>
  773.         <textStyle>bold</textStyle>
  774.         <name>asDeleteFile</name>
  775.         <script></script>
  776.     </part>
  777.     <part>
  778.         <id>13</id>
  779.         <type>button</type>
  780.         <visible> <false /> </visible>
  781.         <reserved5> 0 </reserved5>
  782.         <reserved4> 0 </reserved4>
  783.         <reserved3> 0 </reserved3>
  784.         <reserved2> 0 </reserved2>
  785.         <reserved1> 0 </reserved1>
  786.         <enabled> <false /> </enabled>
  787.         <rect>
  788.             <left>269</left>
  789.             <top>2</top>
  790.             <right>347</right>
  791.             <bottom>17</bottom>
  792.         </rect>
  793.         <style>opaque</style>
  794.         <showName> <true /> </showName>
  795.         <highlight> <false /> </highlight>
  796.         <autoHighlight> <false /> </autoHighlight>
  797.         <sharedHighlight> <true /> </sharedHighlight>
  798.         <family>0</family>
  799.         <titleWidth>0</titleWidth>
  800.         <icon>0</icon>
  801.         <textAlign>center</textAlign>
  802.         <font>Geneva</font>
  803.         <textSize>9</textSize>
  804.         <textStyle>bold</textStyle>
  805.         <name>asUnpackMail</name>
  806.         <script></script>
  807.     </part>
  808.     <part>
  809.         <id>14</id>
  810.         <type>button</type>
  811.         <visible> <true /> </visible>
  812.         <reserved5> 0 </reserved5>
  813.         <reserved4> 0 </reserved4>
  814.         <reserved3> 0 </reserved3>
  815.         <reserved2> 0 </reserved2>
  816.         <reserved1> 0 </reserved1>
  817.         <enabled> <true /> </enabled>
  818.         <rect>
  819.             <left>6</left>
  820.             <top>247</top>
  821.             <right>62</right>
  822.             <bottom>260</bottom>
  823.         </rect>
  824.         <style>standard</style>
  825.         <showName> <true /> </showName>
  826.         <highlight> <false /> </highlight>
  827.         <autoHighlight> <true /> </autoHighlight>
  828.         <sharedHighlight> <true /> </sharedHighlight>
  829.         <family>0</family>
  830.         <titleWidth>0</titleWidth>
  831.         <icon>0</icon>
  832.         <textAlign>center</textAlign>
  833.         <font>Geneva</font>
  834.         <textSize>9</textSize>
  835.         <textStyle>plain</textStyle>
  836.         <name>Compose窶ヲ</name>
  837.         <script>-- FX窶「Mailer - Compose  Button Script-- Last Modified: 8/12/95 by MMM-- A freeware script provided by the Ruskin Group, Inc.on mouseUplock screengo card composeCardput empty into cd fld sendToFldput empty into cd fld subjectFldput empty into cd fld messageFldunlock screenclick at the loc of cd fld sendToFldend mouseUp</script>
  838.     </part>
  839.     <part>
  840.         <id>16</id>
  841.         <type>button</type>
  842.         <visible> <true /> </visible>
  843.         <reserved5> 0 </reserved5>
  844.         <reserved4> 0 </reserved4>
  845.         <reserved3> 0 </reserved3>
  846.         <reserved2> 0 </reserved2>
  847.         <reserved1> 0 </reserved1>
  848.         <enabled> <true /> </enabled>
  849.         <rect>
  850.             <left>239</left>
  851.             <top>88</top>
  852.             <right>313</right>
  853.             <bottom>102</bottom>
  854.         </rect>
  855.         <style>checkbox</style>
  856.         <showName> <true /> </showName>
  857.         <highlight> <true /> </highlight>
  858.         <autoHighlight> <true /> </autoHighlight>
  859.         <sharedHighlight> <true /> </sharedHighlight>
  860.         <family>0</family>
  861.         <titleWidth>0</titleWidth>
  862.         <icon>0</icon>
  863.         <textAlign>center</textAlign>
  864.         <font>Geneva</font>
  865.         <textSize>9</textSize>
  866.         <textStyle>plain</textStyle>
  867.         <name>Auto Update</name>
  868.         <script></script>
  869.     </part>
  870.     <part>
  871.         <id>17</id>
  872.         <type>button</type>
  873.         <visible> <false /> </visible>
  874.         <reserved5> 0 </reserved5>
  875.         <reserved4> 0 </reserved4>
  876.         <reserved3> 0 </reserved3>
  877.         <reserved2> 0 </reserved2>
  878.         <reserved1> 0 </reserved1>
  879.         <enabled> <false /> </enabled>
  880.         <rect>
  881.             <left>351</left>
  882.             <top>2</top>
  883.             <right>415</right>
  884.             <bottom>17</bottom>
  885.         </rect>
  886.         <style>opaque</style>
  887.         <showName> <true /> </showName>
  888.         <highlight> <false /> </highlight>
  889.         <autoHighlight> <true /> </autoHighlight>
  890.         <sharedHighlight> <true /> </sharedHighlight>
  891.         <family>0</family>
  892.         <titleWidth>0</titleWidth>
  893.         <icon>0</icon>
  894.         <textAlign>center</textAlign>
  895.         <font>Geneva</font>
  896.         <textSize>9</textSize>
  897.         <textStyle>bold</textStyle>
  898.         <name>asGetAddr</name>
  899.         <script></script>
  900.     </part>
  901.     <part>
  902.         <id>18</id>
  903.         <type>button</type>
  904.         <visible> <true /> </visible>
  905.         <reserved5> 0 </reserved5>
  906.         <reserved4> 0 </reserved4>
  907.         <reserved3> 0 </reserved3>
  908.         <reserved2> 0 </reserved2>
  909.         <reserved1> 0 </reserved1>
  910.         <enabled> <true /> </enabled>
  911.         <rect>
  912.             <left>2</left>
  913.             <top>2</top>
  914.             <right>28</right>
  915.             <bottom>18</bottom>
  916.         </rect>
  917.         <style>transparent</style>
  918.         <showName> <false /> </showName>
  919.         <highlight> <false /> </highlight>
  920.         <autoHighlight> <false /> </autoHighlight>
  921.         <sharedHighlight> <true /> </sharedHighlight>
  922.         <family>0</family>
  923.         <titleWidth>0</titleWidth>
  924.         <icon>0</icon>
  925.         <textAlign>center</textAlign>
  926.         <font>Chicago</font>
  927.         <textSize>12</textSize>
  928.         <textStyle>plain</textStyle>
  929.         <name>Show AppleScript Buttons</name>
  930.         <script>on mouseUpif the optionkey is down thenif the visible of cd button asDeleteFile is true thenset the visible of cd button asLoadMessages to falseset the visible of cd button asDeleteFile to falseset the visible of cd button asUnpackMail to falseset the visible of cd button asGetAddr to falseelseset the visible of cd button asLoadMessages to trueset the visible of cd button asDeleteFile to trueset the visible of cd button asUnpackMail to trueset the visible of cd button asGetAddr to trueend ifend ifend mouseUp</script>
  931.     </part>
  932.     <part>
  933.         <id>19</id>
  934.         <type>button</type>
  935.         <visible> <false /> </visible>
  936.         <reserved5> 0 </reserved5>
  937.         <reserved4> 0 </reserved4>
  938.         <reserved3> 0 </reserved3>
  939.         <reserved2> 0 </reserved2>
  940.         <reserved1> 0 </reserved1>
  941.         <enabled> <false /> </enabled>
  942.         <rect>
  943.             <left>102</left>
  944.             <top>2</top>
  945.             <right>192</right>
  946.             <bottom>17</bottom>
  947.         </rect>
  948.         <style>opaque</style>
  949.         <showName> <true /> </showName>
  950.         <highlight> <false /> </highlight>
  951.         <autoHighlight> <false /> </autoHighlight>
  952.         <sharedHighlight> <true /> </sharedHighlight>
  953.         <family>0</family>
  954.         <titleWidth>0</titleWidth>
  955.         <icon>0</icon>
  956.         <textAlign>center</textAlign>
  957.         <font>Geneva</font>
  958.         <textSize>9</textSize>
  959.         <textStyle>bold</textStyle>
  960.         <name>asLoadMessages</name>
  961.         <script></script>
  962.     </part>
  963.     <part>
  964.         <id>20</id>
  965.         <type>button</type>
  966.         <visible> <true /> </visible>
  967.         <reserved5> 0 </reserved5>
  968.         <reserved4> 0 </reserved4>
  969.         <reserved3> 0 </reserved3>
  970.         <reserved2> 0 </reserved2>
  971.         <reserved1> 0 </reserved1>
  972.         <enabled> <true /> </enabled>
  973.         <rect>
  974.             <left>393</left>
  975.             <top>1</top>
  976.             <right>412</right>
  977.             <bottom>19</bottom>
  978.         </rect>
  979.         <style>transparent</style>
  980.         <showName> <false /> </showName>
  981.         <highlight> <false /> </highlight>
  982.         <autoHighlight> <false /> </autoHighlight>
  983.         <sharedHighlight> <true /> </sharedHighlight>
  984.         <family>0</family>
  985.         <titleWidth>0</titleWidth>
  986.         <icon>26635</icon>
  987.         <textAlign>center</textAlign>
  988.         <font>Chicago</font>
  989.         <textSize>12</textSize>
  990.         <textStyle>plain</textStyle>
  991.         <name></name>
  992.         <script>on mouseUpset the visible of cd button coverUp to trueset the visible of cd fld readerHelp to trueend mouseUp</script>
  993.     </part>
  994.     <part>
  995.         <id>22</id>
  996.         <type>button</type>
  997.         <visible> <false /> </visible>
  998.         <reserved5> 0 </reserved5>
  999.         <reserved4> 0 </reserved4>
  1000.         <reserved3> 0 </reserved3>
  1001.         <reserved2> 0 </reserved2>
  1002.         <reserved1> 0 </reserved1>
  1003.         <enabled> <true /> </enabled>
  1004.         <rect>
  1005.             <left>2</left>
  1006.             <top>0</top>
  1007.             <right>416</right>
  1008.             <bottom>264</bottom>
  1009.         </rect>
  1010.         <style>transparent</style>
  1011.         <showName> <false /> </showName>
  1012.         <highlight> <false /> </highlight>
  1013.         <autoHighlight> <false /> </autoHighlight>
  1014.         <sharedHighlight> <true /> </sharedHighlight>
  1015.         <family>0</family>
  1016.         <titleWidth>0</titleWidth>
  1017.         <icon>0</icon>
  1018.         <textAlign>center</textAlign>
  1019.         <font>Chicago</font>
  1020.         <textSize>12</textSize>
  1021.         <textStyle>plain</textStyle>
  1022.         <name>coverUp</name>
  1023.         <script>on mouseUpsend mouseUp to cd fld readerHelpend mouseUp</script>
  1024.     </part>
  1025.     <part>
  1026.         <id>24</id>
  1027.         <type>field</type>
  1028.         <visible> <false /> </visible>
  1029.         <dontWrap> <false /> </dontWrap>
  1030.         <dontSearch> <false /> </dontSearch>
  1031.         <sharedText> <false /> </sharedText>
  1032.         <fixedLineHeight> <false /> </fixedLineHeight>
  1033.         <autoTab> <false /> </autoTab>
  1034.         <lockText> <true /> </lockText>
  1035.         <rect>
  1036.             <left>8</left>
  1037.             <top>35</top>
  1038.             <right>240</right>
  1039.             <bottom>239</bottom>
  1040.         </rect>
  1041.         <style>shadow</style>
  1042.         <autoSelect> <false /> </autoSelect>
  1043.         <showLines> <false /> </showLines>
  1044.         <wideMargins> <true /> </wideMargins>
  1045.         <multipleLines> <false /> </multipleLines>
  1046.         <reservedFamily> 0 </reservedFamily>
  1047.         <titleWidth>0</titleWidth>
  1048.         <icon>0</icon>
  1049.         <textAlign>left</textAlign>
  1050.         <font>Geneva</font>
  1051.         <textSize>12</textSize>
  1052.         <textStyle>plain</textStyle>
  1053.         <textHeight>16</textHeight>
  1054.         <name>readerHelp</name>
  1055.         <script>on mouseUpset the visible of cd button coverUp to falseset the visible of me to falseend mouseUp</script>
  1056.     </part>
  1057.     <content>
  1058.         <layer>card</layer>
  1059.         <id>24</id>
  1060.         <text><span class="style2">sing the FX窶「Reader</span><span class="style1">To read a message simply click on its 窶廚aption窶 in the list of messages.Use the buttons at the bottom of the window to act upon the message you have displayed.Click on the 窶弑pdate Captions窶 button to load any new messages that may have arrived in your FX窶「Inbox, or turn on the 窶廣uto Update窶 option to have the mailer check on its own.</span></text>
  1061.     </content>
  1062.     <content>
  1063.         <layer>card</layer>
  1064.         <id>1</id>
  1065.         <text> 04/10/96-05:16PM  Recompiling AppleScript S窶ヲ =>Ruskin[]          947963</text>
  1066.     </content>
  1067.     <content>
  1068.         <layer>card</layer>
  1069.         <id>4</id>
  1070.         <text>Date:    04/10/96-05:16PMFrom:    Ruskin[]         Ruskin.To:      Ruskin[]Subject: Recompiling AppleScript Scripts in FX窶「MailerNOTE FOR FX窶「MAILER USERS:If you are continually being asked to "locate" the FX窶「Engine, FX窶「Packager or HyperCard while using the FX窶「Mailer stack, you may need to recompile the AppleScript scripts in the FX窶「Mailer Stack.  To display the AppleScript scripts (which have been placed in buttons), hold down the "option" key and click on the "FX" label in the upper left corner of the current window.  Note, both the Reader and Compose cards contain AppleScript scripts in buttons that may have to be recompiled so be sure to "option-click" on the "FX" label in both windows.  Display and Save the scripts that are attached to each of the AppleScript based buttons.  Once you've recompiled the scripts, AppleScript will no longer ask you to locate the engine or packager.  You may re-hide the AppleScript buttons by "option-clicking" on the "FX" labels.</text>
  1071.     </content>
  1072.     <content>
  1073.         <layer>card</layer>
  1074.         <id>8</id>
  1075.         <text>Recompiling AppleScript Scripts in FX窶「Mailer</text>
  1076.     </content>
  1077.     <name>readerCard</name>
  1078.     <script>-- FX窶「Mailer - Reader Card Script-- Last Modified: 8/13/95 by MMM-- A freeware script provided by the Ruskin Group, Inc.-- This handler allows the stack to "poll" the FX窶「Inbox for-- new message files.  If Auto Update is on, the "Update Captions"-- functionality will be invoked every minute.on idleglobal FXtickcountif the hilite of card button "Auto Update" is true thenif the ticks > (FXtickcount+3600) thenput the ticks into FXtickcountset the cursor to busysend "loadMessages" to card button "asLoadMessages"end ifend ifend idle-- Do some sync'ing every time the user returns to this card:-- Check the Auto-Update Setting, and the FXcaptionsNeedUpdating Flagon openCardglobal FXoriginalTextArrowsglobal FXcaptionsNeedUpdatingglobal FXtickcount-- Update the FX窶「Mailer Menuset the enabled of menuItem "Read Messages" of menu "FX窶「Mailer" to falseset the enabled of menuItem "Compose Message" of menu "FX窶「Mailer" to true-- Check to see if a captions update is in order...if the hilite of card button "Auto Update" is true thensend mouseUp to card button "Update Captions" -- to look for new mailput the ticks into FXtickcountend ifif FXcaptionsNeedUpdating is true thenupdateCaptionsListend if-- We like textArrows on for the reader, but save the old value-- to restore on close card...put the textArrows into FXoriginalTextArrowsset the textArrows to trueend openCardon closeCardglobal FXoriginalTextArrows-- Restore the value of textArrows to what it was before openCardset the textArrows to FXoriginalTextArrowsend closeCard-- The following handler is used to determine what will be put into the "From" field-- of messages you send to other users.  This will allow them to use the "Reply" button-- to correctly set your address in their "Send To" field.on setUserName theATName, theIPNameglobal FXuserATName, FXuserIPNameif (theATName is empty) and (theIPName is empty) thenask "What shall I use as your FX Address?"put it into theATNameif it is empty then put getDriveName()&"[*]" into theATNameanswer "FX窶「Mailer will use 窶œ"&theATName&"窶 as your address."end ifif theIPName is empty thenput "<No TCP/IP Address Available>" into theIPNameend ifif theATName is empty thenput "<No AppleTalk Address Available>" into theATNameend ifput theATName into FXuserATNameput theIPName into FXuserIPNamesend "mouseUp" to cd button "Update Captions"end setUserName-- Handler scans the "rawMessages" background rebuilding a "caption"-- entry for each message found.  Captions are then placed in the-- fld captions of this card.  Clicking on a caption will then cause-- the message found in the rawMessages background with the same-- caption as the one clicked on to be displayed in the body field-- of this card.  Unlike the script for the "Update Captions" button,-- this handler only builds captions for messages that have already-- been imported into the stacks "rawMessages" background.  See the-- script in the "Update Captions" button to see how messages are-- moved from the FX窶「Inbox to the "rawMessages" background.on updateCaptionsListglobal FXcaptionsNeedUpdatingput false into FXcaptionsNeedUpdating -- unset 'dirty' flag for captionslock screenlock messageslock recentset the cursor to busygo to first card of background rawMessagesput empty into tempCaptionsrepeat (the number of cards in this background) timesset the cursor to busyif (word 2 of the name of this card is not quote&"templateCard"&quote) thenput (bg fld rawCaption)&return after tempCaptionsend ifgo nextend repeatgo to card "readerCard"put tempCaptions into cd fld captionsif cd fld captions is not empty thengetMessageend ifend updateCaptionsList-- Called by the AppleScript of button asLoadMessages once for every-- file it finds in the FX窶「Inbox mailbox.on considerFile fileNameset the cursor to busyif ("Incoming" is not in fileName) thenif fileName contains ".fxp" thensend "unpackMail "&quote&filename&quote to cd button asUnpackMailput char 1 to (length of filename - 4) of fileName into fileNameloadmail fileNameelseloadmail fileNameend ifsend "deleteFile "&quote&fileName&quote to cd button asDeleteFileend ifend considerFile-- This handler loads a file from the FX窶「Inbox and puts it into-- the canonical format of the rawMessages Backgrounson loadmail fileNamelock screenlock messagesset the cursor to busypush cardgo to last card of background rawMessagesdomenu "New Card"open file fileName-- put result into tempResult-- if tempResult is not empty then-- answer "Error opening 窶œ"&fileName&"窶 = "&tempResult-- exit to hypercard-- end ifread from file fileName until eofput it into field rawBodyclose file fileName-- Load in date time stamp窶ヲput "窶「"&char 10 to (the number of chars in line 2 of field rawBody) in line 2 of field rawBody into field rawCaptionput "  " after field rawCaption-- Load in subject窶ヲput char 10 to 35 in line 6 of field rawBody after field rawCaptionrepeat with i = (length of field rawCaption) to 45put " " after field rawCaptionend repeatif char 45 of line 6 of field rawBody is not empty then put "窶ヲ" into char 45 of field rawCaption-- Load in From address窶ヲput char 10 to 27 in line 3 of field rawBody into tempFromif tempFrom is "<No AppleTalk Addr" thenput char 10 to 27 in line 4 of field rawBody into tempFromend ifif tempFrom is "<No TCP/IP Address" thenput "<Unkown Sender>" into tempFromend ifput tempFrom after field rawCaptionrepeat with i = (length of field rawCaption) to 65put " " after field rawCaptionend repeatput line 1 of field rawBody after field rawCaptiondelete line 1 of field rawBodypop cardend loadmail-- This handler deletes the message associated with the currently-- selected caption from the "rawMessages" background.on deleteMessagelock screenlock messagespush cardput currentCaptionNumber() into tempIndexput value (selectedLine of cd fld captions) into searchStringput false into reallyDeletefind whole searchString in bg fld rawCaptionif the result is not empty thenanswer "Can't find a message for that caption, sorry."put "窶「 Lost Message for Delete 窶「" into tempFldelsedoMenu "Delete Card"put true into reallyDelete  -- No so friendly just yet are we...end ifpop cardif reallyDelete is true thendelete line tempIndex of cd fld captionsif number of lines of cd fld captions < tempIndex thensubtract 1 from tempIndexend ifshowMessage tempIndex -- show a new message (the old one is GONE!)end ifend deleteMessage-- This function returns the line number of the currently selected captionfunction currentCaptionNumberreturn word 2 of (selectedLine of cd fld captions)end currentCaptionNumberon nextMessageshowMessage (currentCaptionNumber()+1)end nextMessageon prevMessageshowMessage (currentCaptionNumber()-1)end prevMessageon lastMessageshowMessage (the number of lines of cd fld captions)end lastMessageon firstMessageshowMessage 1end firstMessageon showMessage captionNumberput (the number of lines of cd fld captions) into numOfCaptions-- First 'Pin' unreasonable numbers窶ヲif (captionNumber < 1) then put 1 into captionNumberif (captionNumber > numOfCaptions) then put numOfCaptions into captionNumberif cd fld captions is not empty thenselect line captionNumber of cd fld captionsgetMessageelseput empty into cd fld bodyput empty into cd fld subjectLBLend ifend showMessage-- This handler finds the message associated with the selected caption-- in the captions field and copies it to the body fld of this cardon getMessagelock screenlock messagespush cardput value (selectedLine of cd fld captions) into searchStringfind whole searchString in bg fld rawCaptionif the result is not empty thenanswer "Can't find a message for that caption, sorry."put "窶「 Lost Message for Read 窶「" into tempFldelseput bg fld rawBody into tempFldput " " into char 1 of fld rawCaptionend ifpop cardput " " into char 1 of line currentCaptionNumber() of cd field captionsput tempFld into cd fld bodyput char 10 to (the number of chars in line 5 of cd field body) of line 5 of cd field body ツャinto cd fld subjectlblend getMessage-- This function examines the currently displayed message and attempts to determine which-- from address to use for the reply.  If it cannot decide, it asks the user to chose and addr.function getFromAddressput char 10 to (the number of chars in line 2 of cd fld body ) of line 2 of cd fld body ツャinto atAddressput char 10 to (the number of chars in line 3 of cd fld body ) of line 3 of cd fld body ツャinto ipAddressif (atAddress = "<No AppleTalk Address Available>") thenif (ipAddress = "<No TCP/IP Address Available>") thenask "What address should your reply be sent to?"if the result = "Cancel" then exit to hypercardreturn itend ifreturn ipAddressend ifif (ipAddress = "<No TCP/IP Address Available>") then return atAddressanswer "Should your reply be addressed to the TCP/IP destination 窶œ"&ipAddressツャ&"窶, or the AppleTalk destination 窶œ"&atAddress&"窶?" with  Cancel, "TCP/IP", "AppleTalk"if it is "Cancel" then exit to hyperCardif it is "TCP/IP" then return ipAddress else return atAddressend getFromAddress-- This hanlder attempts to keep people from typing into the message-- field which we have left unlocked to facilitate copying text.on keyDown theKeyif the commandkey is not down andツャthe visible of message is false and ツャtheKey is in "cu" thenhandleShortCutKey theKeyelsepass keyDownend ifend keyDown-- Allow folks to jump to the composeCard by typing "c" or to-- update the captions by pressing "u"on handleShortCutKey theKeyif theKey is "c" then send mouseUp to cd button "Compose窶ヲ"if theKey is "u" then send mouseUp to cd button "Update Captions"end handleShortCutKey-- Translate the arrow keys into commands to traverse the captions liston arrowKey theKeyif theKey is "up" or theKey is "left" thenif the commandkey is down thenfirstMessageelseprevMessageend ifend ifif theKey is "down"  or theKey is "right" thenif the commandkey is down thenlastMessageelsenextMessageend ifend ifend arrowKey</script>
  1079. </card>
  1080.  
  1081.  
  1082.